import { reactive, ref } from "vue";

export default function InitHook() {
  const formDataRef = ref<any>(null);
  const formState = reactive<WarehouseApprove.ApprovalForm>({
    idList: [],
    state: 4,
    refuseType: undefined,
    refuseReason: undefined
  });
  const loading = ref<boolean>(false);
  return {
    formDataRef,
    formState,
    loading
  };
}
